package com.tianruan.dc.common.exception;

import lombok.Data;

/**
 * @PS
 */
@Data
public class ApiVersionException extends RuntimeException {
    //年龄非法异常

    private Integer code = 20000;

    public ApiVersionException() {
        super("版本控制器异常");
    }

	public ApiVersionException(String message) {
        super(message);
    }

    public ApiVersionException(int code, String message) {
        super(message);
        this.code = code;
    }

}
